package com.his.util.constant;

public class RedisConstant {
    public static final String REDIS_FOLDER = "mdeer:";
    public static final String USER = "user";
    public static final String PATIENT = "patient";
    public static final String ROLE = "role";
    public static final String HOSPITAL = "hospital";

    public static final String getUserAndAuthorization(String authorization) {
        return REDIS_FOLDER + USER + authorization;
    }

    public static final String getPatientAndAuthorization(String authorization) {
        return REDIS_FOLDER + PATIENT + authorization;
    }

    public static final String getRoleAndAuthorization(String authorization) {
        return REDIS_FOLDER + ROLE + authorization;
    }

    public static final String getHospitalAndAuthorization(String authorization) {
        return REDIS_FOLDER + HOSPITAL + authorization;
    }
}
